home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / Xm / XmeReplyToQueryGeometry.z / XmeReplyToQueryGeometry
Text File  |  1998-10-30  |  5KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmeeeeRRRReeeeppppllllyyyyTTTTooooQQQQuuuueeeerrrryyyyGGGGeeeeoooommmmeeeettttrrrryyyy((((3333XXXX))))UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVVXXXXmmmmeeeeRRRReeeeppppllllyyyyTTTTooooQQQQuuuueeeerrrryyyyGGGGeeeeoooommmmeeeettttrrrryyyy((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XXXXmmmmeeeeRRRReeeeppppllllyyyyTTTTooooQQQQuuuueeeerrrryyyyGGGGeeeeoooommmmeeeettttrrrryyyy - Handles standard geometry requests
  10.  
  11.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.           #include <Xm/XmP.h>
  13.           XXXXttttGGGGeeeeoooommmmeeeettttrrrryyyyRRRReeeessssuuuulllltttt XXXXmmmmeeeeRRRReeeeppppllllyyyyTTTTooooQQQQuuuueeeerrrryyyyGGGGeeeeoooommmmeeeettttrrrryyyy(
  14.           WWWWiiiiddddggggeeeetttt wwwwiiiiddddggggeeeetttt,
  15.           XXXXttttWWWWiiiiddddggggeeeettttGGGGeeeeoooommmmeeeettttrrrryyyy ****iiiinnnntttteeeennnnddddeeeedddd,
  16.           XXXXttttWWWWiiiiddddggggeeeettttGGGGeeeeoooommmmeeeettttrrrryyyy ****ddddeeeessssiiiirrrreeeedddd);
  17.  
  18.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  19.           This page documents Motif 2.1.
  20.  
  21.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  22.           A qqqquuuueeeerrrryyyy____ggggeeeeoooommmmeeeettttrrrryyyy method can call XXXXmmmmeeeeRRRReeeeppppllllyyyyTTTTooooQQQQuuuueeeerrrryyyyGGGGeeeeoooommmmeeeettttrrrryyyyin
  23.           order to handle certain kinds of geometry requests.
  24.           XXXXmmmmeeeeRRRReeeeppppllllyyyyTTTTooooQQQQuuuueeeerrrryyyyGGGGeeeeoooommmmeeeettttrrrryyyy has an important limitation; it
  25.           returns an _X_t_G_e_o_m_e_t_r_y_R_e_s_u_l_t value based solely on width and
  26.           height values.  That is, XXXXmmmmeeeeRRRReeeeppppllllyyyyTTTTooooQQQQuuuueeeerrrryyyyGGGGeeeeoooommmmeeeettttrrrryyyy ignores
  27.           other characteristics of widget geometry, such as starting
  28.           position and border width.  Therefore, if your
  29.           qqqquuuueeeerrrryyyy____ggggeeeeoooommmmeeeettttrrrryyyy method needs to analyze any of these other
  30.           characteristics, then you need to write your own code,
  31.           rather than relying on XXXXmmmmeeeeRRRReeeeppppllllyyyyTTTTooooQQQQuuuueeeerrrryyyyGGGGeeeeoooommmmeeeettttrrrryyyy.
  32.  
  33.           Your widget must determine its preferred size prior to
  34.           calling XXXXmmmmeeeeRRRReeeeppppllllyyyyTTTTooooQQQQuuuueeeerrrryyyyGGGGeeeeoooommmmeeeettttrrrryyyy.  To be more precise, you
  35.           need only determine the widget's preferred width and height.
  36.           The _d_e_s_i_r_e_d variable holds the widget's preferred
  37.           dimensions.
  38.  
  39.           _w_i_d_g_e_t    Specifies the current widget.
  40.  
  41.           _i_n_t_e_n_d_e_d  Specifies the geometry proposed by the parent of
  42.                     _w_i_d_g_e_t.
  43.  
  44.           _d_e_s_i_r_e_d   Specifies the geometry preferred by _w_i_d_g_e_t.
  45.  
  46.      RRRREEEETTTTUUUURRRRNNNN
  47.           Returns XXXXttttGGGGeeeeoooommmmeeeettttrrrryyyyYYYYeeeessss if the _i_n_t_e_n_d_e_d geometry matches the
  48.           _d_e_s_i_r_e_d geometry, and if the parent of _w_i_d_g_e_t intends to use
  49.           these values.  Otherwise, returns XXXXttttGGGGeeeeoooommmmeeeettttrrrryyyyNNNNoooo if the
  50.           _d_e_s_i_r_e_dwidth and height match the widget's current width and
  51.           height.  Otherwise, returns XXXXttttGGGGeeeeoooommmmeeeettttrrrryyyyAAAAllllmmmmoooosssstttt.
  52.  
  53.      RRRREEEELLLLAAAATTTTEEEEDDDD
  54.           XXXXttttRRRReeeessssiiiizzzzeeeeRRRReeeeqqqquuuueeeesssstttt(3).
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                         (printed 10/24/98)
  64.  
  65.  
  66.  
  67.